package com.zycfc.zsf.cloud.core.domain.auth;

import java.io.*;

public class ZsfAuthMenu implements Serializable
{
    private static final long serialVersionUID = -8137617960030639232L;
    private String menuId;
    private String sysId;
    private String menuNo;
    private String menuName;
    private String menuPath;
    private String parentMenuNo;
    private String sts;
    
    public ZsfAuthMenu() {
    }
    
    public ZsfAuthMenu(final String menuId, final String sysId, final String menuNo, final String menuName, final String menuPath, final String parentMenuNo, final String sts) {
        this.menuId = menuId;
        this.sysId = sysId;
        this.menuNo = menuNo;
        this.menuName = menuName;
        this.menuPath = menuPath;
        this.parentMenuNo = parentMenuNo;
        this.sts = sts;
    }
    
    public String getMenuId() {
        return this.menuId;
    }
    
    public String getSysId() {
        return this.sysId;
    }
    
    public String getMenuNo() {
        return this.menuNo;
    }
    
    public String getMenuName() {
        return this.menuName;
    }
    
    public String getMenuPath() {
        return this.menuPath;
    }
    
    public String getParentMenuNo() {
        return this.parentMenuNo;
    }
    
    public String getSts() {
        return this.sts;
    }
    
    public void setMenuId(final String menuId) {
        this.menuId = menuId;
    }
    
    public void setSysId(final String sysId) {
        this.sysId = sysId;
    }
    
    public void setMenuNo(final String menuNo) {
        this.menuNo = menuNo;
    }
    
    public void setMenuName(final String menuName) {
        this.menuName = menuName;
    }
    
    public void setMenuPath(final String menuPath) {
        this.menuPath = menuPath;
    }
    
    public void setParentMenuNo(final String parentMenuNo) {
        this.parentMenuNo = parentMenuNo;
    }
    
    public void setSts(final String sts) {
        this.sts = sts;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof ZsfAuthMenu)) {
            return false;
        }
        final ZsfAuthMenu other = (ZsfAuthMenu)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$menuId = this.getMenuId();
        final Object other$menuId = other.getMenuId();
        Label_0065: {
            if (this$menuId == null) {
                if (other$menuId == null) {
                    break Label_0065;
                }
            }
            else if (this$menuId.equals(other$menuId)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$sysId = this.getSysId();
        final Object other$sysId = other.getSysId();
        Label_0102: {
            if (this$sysId == null) {
                if (other$sysId == null) {
                    break Label_0102;
                }
            }
            else if (this$sysId.equals(other$sysId)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$menuNo = this.getMenuNo();
        final Object other$menuNo = other.getMenuNo();
        Label_0139: {
            if (this$menuNo == null) {
                if (other$menuNo == null) {
                    break Label_0139;
                }
            }
            else if (this$menuNo.equals(other$menuNo)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$menuName = this.getMenuName();
        final Object other$menuName = other.getMenuName();
        Label_0176: {
            if (this$menuName == null) {
                if (other$menuName == null) {
                    break Label_0176;
                }
            }
            else if (this$menuName.equals(other$menuName)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$menuPath = this.getMenuPath();
        final Object other$menuPath = other.getMenuPath();
        Label_0213: {
            if (this$menuPath == null) {
                if (other$menuPath == null) {
                    break Label_0213;
                }
            }
            else if (this$menuPath.equals(other$menuPath)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$parentMenuNo = this.getParentMenuNo();
        final Object other$parentMenuNo = other.getParentMenuNo();
        Label_0250: {
            if (this$parentMenuNo == null) {
                if (other$parentMenuNo == null) {
                    break Label_0250;
                }
            }
            else if (this$parentMenuNo.equals(other$parentMenuNo)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$sts = this.getSts();
        final Object other$sts = other.getSts();
        if (this$sts == null) {
            if (other$sts == null) {
                return true;
            }
        }
        else if (this$sts.equals(other$sts)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof ZsfAuthMenu;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $menuId = this.getMenuId();
        result = result * 59 + (($menuId == null) ? 43 : $menuId.hashCode());
        final Object $sysId = this.getSysId();
        result = result * 59 + (($sysId == null) ? 43 : $sysId.hashCode());
        final Object $menuNo = this.getMenuNo();
        result = result * 59 + (($menuNo == null) ? 43 : $menuNo.hashCode());
        final Object $menuName = this.getMenuName();
        result = result * 59 + (($menuName == null) ? 43 : $menuName.hashCode());
        final Object $menuPath = this.getMenuPath();
        result = result * 59 + (($menuPath == null) ? 43 : $menuPath.hashCode());
        final Object $parentMenuNo = this.getParentMenuNo();
        result = result * 59 + (($parentMenuNo == null) ? 43 : $parentMenuNo.hashCode());
        final Object $sts = this.getSts();
        result = result * 59 + (($sts == null) ? 43 : $sts.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "ZsfAuthMenu(menuId=" + this.getMenuId() + ", sysId=" + this.getSysId() + ", menuNo=" + this.getMenuNo() + ", menuName=" + this.getMenuName() + ", menuPath=" + this.getMenuPath() + ", parentMenuNo=" + this.getParentMenuNo() + ", sts=" + this.getSts() + ")";
    }
}
